package com.twu.biblioteca;

public class Book {

    private String name;
    private boolean reserved;

    Book(String name) {
        this.name = name;
        this.reserved = false;
    }

    public void setReserved() {
        this.reserved = true;
    }

    public boolean isReserved() {
        return this.reserved;
    }

    public String getName() {
        return name;
    }
}
